﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="BJXXNeedApprove.aspx.cs" Inherits="WXYW.BJXXNeedApprove" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="Ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    备件申请单-待审批
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div align="right">
        <img src="image/operateicon/select.gif" />
        <asp:LinkButton ID="approveLinkButton" runat="server">同意</asp:LinkButton>
        <img src="image/operateicon/docdelete.gif" />
        <asp:LinkButton ID="declineLinkButton" runat="server">拒绝</asp:LinkButton>
        <%-- <img src="image/operateicon/mail_icon.gif" />
        <asp:LinkButton ID="sendLinkButton" runat="server" OnClick="sendLinkButton_Click">发送</asp:LinkButton>--%>
    </div>
    <table width="100%">
        <tr style="height: 25px">
            <td style="width: 10%">
                <b>流水号:</b>
            </td>
            <td style="width: 30%">
                <asp:Label ID="runningNumberLabel" runat="server" Text="" Width="100%"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
            <td style="width: 10%">
                <b>当前状态:</b>
            </td>
            <td style="width: 30%">
                <asp:Label ID="statusLabel" runat="server" Width="100%"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
        </tr>
        <tr style="height: 25px;">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>用户信息</b>
            </td>
        </tr>
        <tr style="height: 25px">
            <td style="width: 10%">
                申请人：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;
                width: 30%;">
                <asp:Label ID="contactLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
            <td style="width: 10%">
                公司名称：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;
                width: 30%;">
                <asp:Label ID="companyLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                电话：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="phoneNumberLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                手机号码：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="cellPhoneLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                传真：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="faxLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                通迅地址：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="addressLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                电子邮件：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="emailLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                代理商/销售员：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="agentLabel" runat="server" Text="" Width="100%"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                申请日期：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label1" runat="server" Width="100%"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                处理日期：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label2" runat="server" Width="100%"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                代填人：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label3" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                代填人电话：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label4" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                收货信息：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;"
                colspan="4">
                <asp:Label ID="shxxLbl" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 10px">
            <td colspan="6">
            </td>
        </tr>
        <tr style="height: 25px">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>产品信息</b>
            </td>
        </tr>
        <tr style="height: 10px">
            <td colspan="6">
            </td>
        </tr>
    </table>
    <table class="tableList" width="100%" border="1" style="border-color: #888888">
        <tr style="height: 25px">
            <th>
                <img src="image/operateicon/button_Select.gif" alt="" />
            </th>
            <th>
                产品型号
            </th>
            <th>
                产品序列号
            </th>
            <th>
                版本号
            </th>
            <th>
                故障类型
            </th>
            <th>
                故障描述
            </th>
            <th>
                外观及附件
            </th>
            <th>
                产品购买日期
            </th>
            <th>
                申请类型
            </th>
            <th>
                需求说明
            </th>
            <th>
                保修性质
            </th>
            <th>
                购买延保
            </th>
        </tr>
        <tr style="height: 25px">
            <td>
                1
            </td>
            <td>
                <asp:Label ID="productTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:LinkButton ID="serialNOLinkButton" runat="server" OnClick="serialNOLinkButton_Click"></asp:LinkButton>
            </td>
            <td>
                <asp:Label ID="versionNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="problemTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="problemDescriptionLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="accessoryLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="buyTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="applyTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="requireDisPLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <%--<asp:Label ID="repairTupeLabel" runat="server" Text=""></asp:Label>--%>
                <asp:DropDownList ID="repairTypeDDL" runat="server">
                    <asp:ListItem>保内</asp:ListItem>
                    <asp:ListItem>保外</asp:ListItem>
                </asp:DropDownList>
            </td>            
            <td>
                <asp:Label ID="ybLbl" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr style="height: 20px;">
            <td colspan="6">
            </td>
        </tr>
        <tr style="height: 25px;">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>图片预览</b>
            </td>
        </tr>
        <tr style="height: 5px;">
            <td colspan="6">
            </td>
        </tr>
        <tr style="height: 5px;">
            <td colspan="6">
                <asp:Panel ID="picturePanel" runat="server">
                </asp:Panel>
            </td>
        </tr>
        <tr style="height: 25px;">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>上传图片</b>
            </td>
        </tr>
        <tr style="height: 5px;">
            <td colspan="6">
            </td>
        </tr>
        <tr style="height: 25px;">
            <td colspan="3">
                <asp:FileUpload ID="FileUpload1" runat="server" Width="400px" />
            </td>
            <td colspan="3">
                <asp:Button ID="uploadButton" runat="server" Text="上传" Width="80px" OnClick="uploadButton_Click" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="HiddenField" runat="server" />
    <Ajax:ModalPopupExtender ID="ModalPopupExtender2" TargetControlID="approveLinkButton"
        PopupControlID="approvePanel" BackgroundCssClass="modalBackground" runat="server"
        Drag="true" PopupDragHandleControlID="Div2" CancelControlID="Button3">
    </Ajax:ModalPopupExtender>
    <asp:Panel ID="approvePanel" CssClass="modalPopup" Style="display: none" Width="700px"
        BackImageUrl="~/image/mainSkinBG.gif" runat="server" DefaultButton="approveButton">
        <!-- Header -->
        <div class="box-header" id="Div2">
            <img src="image/stdBox_left_top.gif" alt="" />
            <h2>
                同意备件申请
            </h2>
        </div>
        <table width="100%">
            <tr>
                <td style="width: 15%">
                    <b>申请人：</b>
                </td>
                <td colspan="3">
                    <asp:Label ID="applierLbl" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <b>备注：</b>
                </td>
                <td colspan="3">
                    <asp:TextBox ID="approveTextBox" runat="server" TextMode="MultiLine" Height="50px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <b>邮件通知：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendEmailChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" Checked="true" />
                </td>
                <td>
                    <b>短信通知申请人：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2ApplierChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收邮箱：</b>
                </td>
                <td>
                    <asp:TextBox ID="emailTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="applierPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="emailNoticeTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="SMS2ApplierTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <b>短信通知客户：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2CustomerChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
                <td>
                    <b>短信通知销售人员：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2SaleChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="customerPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="salePhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="SMSToCustomerTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="SMSToSaleTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="color: Red">
                    提示：多个接收手机号码之间用空格隔开,每条短信字数限制在70字以内
                </td>
            </tr>
            <tr style="text-align: center">
                <td colspan="4">
                    <asp:Button ID="approveButton" runat="server" Text="确定" OnClick="approveButton_Click" />
                    <asp:Button ID="Button3" runat="server" Text="关闭" />
                </td>
            </tr>
        </table>
        <div class="box-footer">
            <img alt="" src="image/stdBox_left_bottom.gif" />
            <p>
                &nbsp;</p>
        </div>
    </asp:Panel>
    <Ajax:ModalPopupExtender ID="BackPopupExtender" TargetControlID="declineLinkButton"
        PopupControlID="BackNoticePanel" BackgroundCssClass="modalBackground" runat="server"
        Drag="true" PopupDragHandleControlID="NoticeDragBar" CancelControlID="closeButton">
    </Ajax:ModalPopupExtender>
    <asp:Panel ID="BackNoticePanel" CssClass="modalPopup" Style="display: none" Width="700px"
        BackImageUrl="~/image/mainSkinBG.gif" runat="server" DefaultButton="declineButton">
        <!-- Header -->
        <div class="box-header" id="NoticeDragBar">
            <img src="image/stdBox_left_top.gif" alt="" />
            <h2>
                拒绝备件申请
            </h2>
        </div>
        <table width="100%">
            <tr>
                <td colspan="4">
                    <b>拒绝原因和解决办法</b>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <asp:TextBox ID="reasonTextBox" runat="server" TextMode="MultiLine" Height="50px"
                        Width="100%"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td>
                    <b>邮件通知：</b>
                </td>
                <td>
                    <asp:CheckBox ID="declineEmailChxBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" Checked="true" />
                </td>
                <td>
                    <b>短信通知申请人：</b>
                </td>
                <td>
                    <asp:CheckBox ID="declineSMS2ApplierChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收邮箱：</b>
                </td>
                <td>
                    <asp:TextBox ID="declineEmailTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="declineSMS2ApplierPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="declineEmailContentTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="declineSMS2ApplierContentTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <b>短信通知客户：</b>
                </td>
                <td>
                    <asp:CheckBox ID="declineSMS2CustomerChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
                <td>
                    <b>短信通知销售人员：</b>
                </td>
                <td>
                    <asp:CheckBox ID="declineSMS2SaleChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="declineSMS2CustomerPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="declineSMS2SalePhoneTxtbox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="declineSMS2CustomerContentTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="declineSMS2SaleContentTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="color: Red">
                    提示：多个接收手机号码之间用空格隔开,每条短信字数限制在70字以内
                </td>
            </tr>
            <tr style="text-align: center">
                <td colspan="4">
                    <asp:Button ID="declineButton" runat="server" Text="提交" OnClick="declineButton_Click" />
                    <asp:Button ID="closeButton" runat="server" Text="关闭" />
                </td>
            </tr>
        </table>
        <div class="box-footer">
            <img alt="" src="image/stdBox_left_bottom.gif" />
            <p>
                &nbsp;</p>
        </div>
    </asp:Panel>
    <Ajax:ModalPopupExtender ID="notificationModalPopupExtender" runat="server" PopupControlID="notificationPanel"
        BackgroundCssClass="modalBackground" TargetControlID="hiddenTargetControlForModalPopup"
        CancelControlID="LinkButton1">
    </Ajax:ModalPopupExtender>
    <asp:Panel ID="notificationPanel" runat="server" Style="display: none" BackImageUrl="~/image/mainSkinBG.gif"
        CssClass="modalPopup" Width="500px">
        <!-- Header -->
        <div class="box-header" id="QuatationDragBar">
            <img src="image/stdBox_left_top.gif" alt="" />
            <h2>
                销售信息</h2>
        </div>
        <div class="functionPanel">
            <table width="100%">
                <tr style="height: 20px; text-align: right;">
                    <td colspan="2">
                        <img src="image/operateicon/back_back.gif" alt="" />
                        <asp:LinkButton ID="LinkButton1" runat="server">关闭</asp:LinkButton>
                        <%-- <img src="image/mail_icon.gif" />
                        <asp:LinkButton ID="sendEmailLinkButton" runat="server" OnClick="sendEmailLinkButton_Click">发送</asp:LinkButton>--%>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="informationLabel" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr style="height: 25px">
                    <td>
                        序列号:<asp:Label ID="serialNOLabel" runat="server" Text=""></asp:Label>
                    </td>
                    <td>
                        销售日期:<asp:Label ID="toLabel" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                <tr style="height: 25px">
                    <td>
                        保修截止日期:<asp:Label ID="endtimeLabel" runat="server" Text=""></asp:Label>
                    </td>
                    <td>
                        销售客户名称:<asp:Label ID="saleUserLabel" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <div class="box-footer">
            <img alt="" src="image/stdBox_left_bottom.gif" />
            <p>
                &nbsp;</p>
        </div>
    </asp:Panel>
    <asp:Button runat="server" ID="hiddenTargetControlForModalPopup" Style="display: none" />
</asp:Content>
